﻿using System.ComponentModel;
using System.Runtime.Serialization;

namespace SlamDunk.ValueObjects.Enums
{
    /// <summary>
    /// 物料来源类型
    /// </summary>
    [DataContract]
    public enum MaterialSourceType
    {
        /// <summary>
        /// 采购
        /// </summary>
        [EnumMember]
        [Description("采购")]
        Purchase = 0,

        /// <summary>
        /// 制造
        /// </summary>
        [EnumMember]
        [Description("制造")]
        Manufacture = 1,

        /// <summary>
        /// 采购或制造
        /// </summary>
        [EnumMember]
        [Description("采购或制造")]
        Either = 2
    }
}
